import React from 'react';
import { createFromIconfontCN } from '@ant-design/icons';

import './Icon.scss';

const IconFont = createFromIconfontCN({
  scriptUrl: '//at.alicdn.com/t/font_2016050_5j5xushl9mj.js',
});

const Icon = ({ style, className, type }) => {
  return <IconFont style={style} type={type} data-component="icon" />;
};

export default Icon;
